package com.xxy.springcloud.feign;

import org.springframework.stereotype.Component;

/**
 * @program: cloud2021
 * @description:
 * @author: 小小鱼
 * @date: 2021-03-12 13:44
 **/
@Component
public class PaymentProviderHystrix implements PaymentProvider {
    @Override
    public String paymentInfo_Ok(Integer id) {
        return "PaymentProviderHystrix-->paymentInfo_Ok-->id:"+id;
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentProviderHystrix-->paymentInfo_TimeOut-->id:"+id;
    }
}
